package com.ef.service;

import java.util.List;

import com.ef.domain.MarketingPolicy;
import com.ef.domain.Team;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface MarketingPolicyService extends BaseService {

	public PaginationSupport<MarketingPolicy> findByExample(
			CustomExample<MarketingPolicy> example, int startIndex, int pageSize);

	public void saveOrUpdate(MarketingPolicy entity);

	public void delete(MarketingPolicy entity);

	public MarketingPolicy findById(Long id);
	
	public List<MarketingPolicy> findAll();
	
	public List<MarketingPolicy> findAllByTeam(Team team);
}
